package com.zaixiandiancan.xia.entity;

public class User {

    private Integer id;
    private String userName;      //用户名
    private String passWord;      //密码
    private String phone;         //手机
    private String address;       //地址
    private String email;         //邮箱
    private String registerTime;  //注册时间
    private Integer userType;     //用户类型0管理员，1用户，2商户
    private Integer isLoin;       //是否登录0已登录1未登录
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassWord() {
        return passWord;
    }
    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getRegisterTime() {
        return registerTime;
    }
    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }
    public Integer getUserType() {
        return userType;
    }
    public void setUserType(Integer userType) {
        this.userType = userType;
    }
    public Integer getIsLoin() {
        return isLoin;
    }
    public void setIsLoin(Integer isLoin) {
        this.isLoin = isLoin;
    }
    @Override
    public String toString() {
        return "User [id=" + id + ", userName=" + userName + ", passWord=" + passWord + ", phone=" + phone
                + ", address=" + address + ", email=" + email + ", registerTime=" + registerTime + ", userType="
                + userType + ", isLoin=" + isLoin + "]";
    }




}
